/************************************************************************
  			Produit.java - Copyright kevin

Here you can write a license for your code, some comments or any other
information you want to have in your generated code. To to this simply
configure the "headings" directory in uml to point to a directory
where you have your heading files.

or you can just replace the contents of this file with your own.
If you want to do this, this file is located at

/usr/share/apps/umbrello/headings/heading.java

-->Code Generators searches for heading files based on the file extension
   i.e. it will look for a file name ending in ".h" to include in C++ header
   files, and for a file name ending in ".java" to include in all generated
   java code.
   If you name the file "heading.<extension>", Code Generator will always
   choose this file even if there are other files with the same extension in the
   directory. If you name the file something else, it must be the only one with that
   extension in the directory to guarantee that Code Generator will choose it.

you can use variables in your heading files which are replaced at generation
time. possible variables are : author, date, time, filename and filepath.
just write %variable_name%

This file was generated on %date% at %time%
The original location of this file is /tmp/Produit.java
**************************************************************************/
package classes;


/**
 * Class Produit
 */
public class Produit {

  //
  // Fields
  //

  private int idProduit;
  private int prixHt;
  private int prixTTC;
  private int TVA;
  private int quantity;
  private int marge;
  private int nombreStock;
  private int nombreRayon;
  private String nom;
  private String codeBarre;
  private int seuilMiniRayon;
  private int seuilMiniStock;
  private int idRayon;
  
  
  public int getSeuilMiniRayon() {
	return seuilMiniRayon;
}

public void setSeuilMiniRayon(int seuilMiniRayon) {
	this.seuilMiniRayon = seuilMiniRayon;
}

public int getSeuilMiniStock() {
	return seuilMiniStock;
}

public void setSeuilMiniStock(int seuilMiniStock) {
	this.seuilMiniStock = seuilMiniStock;
}

//
  // Constructors
  //
  public Produit () { };
  
  //
  // Methods
  //


  //
  // Accessor methods
  //

  /**
   * Set the value of id
   * @param newVar the new value of id
   */
  public void setIdProduit ( int newVar ) {
    idProduit = newVar;
  }

  /**
   * Get the value of id
   * @return the value of id
   */
  public int getIdProduit ( ) {
    return idProduit;
  }

  /**
   * Set the value of prixHT
   * @param newVar the new value of prixHT
   */
  public void setPrixHt ( int newVar ) {
    prixHt = newVar;
  }

  /**
   * Get the value of prixHT
   * @return the value of prixHT
   */
  public int getPrixHt ( ) {
    return prixHt;
  }

  /**
   * Set the value of prixTTC
   * @param newVar the new value of prixTTC
   */
  public void setPrixTTC ( int newVar ) {
    prixTTC = newVar;
  }

  /**
   * Get the value of prixTTC
   * @return the value of prixTTC
   */
  public int getPrixTTC ( ) {
    return prixTTC;
  }

  /**
   * Set the value of TVA
   * @param newVar the new value of TVA
   */
  public void setTVA ( int newVar ) {
    TVA = newVar;
  }

  /**
   * Get the value of TVA
   * @return the value of TVA
   */
  public int getTVA ( ) {
    return TVA;
  }

  /**
   * Set the value of quantite
   * @param newVar the new value of quantite
   */
  public void setQuantity ( int newVar ) {
    quantity = newVar;
  }

  /**
   * Get the value of quantite
   * @return the value of quantite
   */
  public int getQuantity ( ) {
    return quantity;
  }

public String getNom() {
	return nom;
}

public void setNom(String name) {
	this.nom = name;
}

public String getCodeBarre() {
	return codeBarre;
}

public void setCodeBarre(String codeBarre) {
	this.codeBarre = codeBarre;
}

public int getMarge() {
	return marge;
}

public void setMarge(int marge) {
	this.marge = marge;
}

public int getNombreRayon() {
	return nombreRayon;
}

public void setNombreRayon(int nombreRayon) {
	this.nombreRayon = nombreRayon;
}

public int getNombreStock() {
	return nombreStock;
}

public void setNombreStock(int nombreStock) {
	this.nombreStock = nombreStock;
}

public int getIdRayon() {
	return idRayon;
}

public void setIdRayon(int idRayon) {
	this.idRayon = idRayon;
}

  //
  // Other methods
  //

}
